import { GJXRequest } from '../index'
import AuthTokenInterceptor from './request-interceptor/auth-interceptor'

import { ErrorCodeInterceptor } from './response-interceptor'

// 请求拦截器-token
GJXRequest.addRequestInterceptor(AuthTokenInterceptor)

// 统一的判断errCode的处理
GJXRequest.addResponeseInterceptor(ErrorCodeInterceptor)
